package com.pioneer.web.client.service;

import com.pioneer.web.client.domain.CliCar;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 26271
* @description 针对表【cli_car】的数据库操作Service
* @createDate 2025-05-21 15:03:39
*/
public interface ICliCarService extends IService<CliCar> {
    List<CliCar> carList(CliCar car);
    
    CliCar getCarById(Long id);

    /**
     * 下单后删除购物车数据
     * @param carId 购物车ID
     * @return 删除结果
     */
    boolean removeAfterOrder(Long carId);
}
